package com.dhecp.project.logstics.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.logstics.domain.FbaLogisticsReconcileEcSon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 物流对账二次详情(TP_FbaLogisticsReconcileEcSon)表数据库访问层
 *
 * @author fxz
 * @since 2023-10-29 23:27:23
 */
public interface FbaLogisticsReconcileEcSonMapper extends GenericDao<FbaLogisticsReconcileEcSon, String> {

    /**
     * 通过对账单code查询详情数据
     * @param code
     * @return
     */
    List<FbaLogisticsReconcileEcSon> queryListCode(@Param("code") String code);

    int deleteCodeReconcileEc(@Param("code") String code);

    /**
     * 根据code修改二次对账状态
     */
    int updateByStateName(@Param("logisticsOrderCode") String logisticsOrderCode,@Param("stateName")String stateName);
}

